home *** CD-ROM | disk | FTP | other *** search
- /* TBGlobals.h */
-
- #ifdef GLOBALS_HERE
- #define ext
- #else
- #define ext extern
- #endif
-
- ext short gRefNum; /* RefNum of the doc being spellchecked */
- ext short gResRefNum; /* RefNum of the doc being spellchecked */
- ext Boolean gDocDirty; /* True if document has been changed at all */
- ext Boolean gDocExists; /* True if the document comes from disk */
-
- ext Boolean gQuitRequested; /* True if we have received a Quit event */
- ext Boolean gPrintRequested; /* True if we have received a Print event */
-
- ext Boolean gReadOnly; /* True if doc is read-only (ttro) */
-
- ext short gNumPictures; /* Number of TeachText style pictures */
-
- #ifdef NEVER
- ext AEAddressDesc gSpellerAddr; /* Address of IAC speller process */
- #endif
-
- ext long gTransactionID;
-
- /* I have some notion of making this a multiwindow editor someday. For now, I allow
- * one window, which is kept in gDocWindow. gScrollWindow is the window that scroll
- * operations are being performed on. For now, this will always be the same as
- * gDocWindow, but may be set to the current window instead, if we use multiple windows.
- */
-
- ext WindowPtr gDocWindow;
- ext WindowPtr gScrollWindow;
-
- ext ControlHandle gVertScroll;
-
- ext short gLinesPerPage;
-
- ext short gPrefFileRefNum;
-
- ext short gAppFileRefNum;
-
- ext short gServItemID[ kMaxServices ];